package com.hmy.cornpestdet.mapper;

import com.hmy.cornpestdet.utils.Result;
import com.hmy.cornpestdet.vo.AutoWarningSystem;
import com.hmy.cornpestdet.vo.AutoWarningSystemUser;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface AdminInitMapper {

    public List<AutoWarningSystemUser> getAllUserInfo();

    public double getDiseaseRateByUid(int uid);

    public void send(int rUid,int sUid,double distance);

    //暴露给用户定时查询自动预警信息
    public List<AutoWarningSystem> getAutoWarningInfo(int uid);
}
